From 71294d8fa28d4a7a00fea57f7343e8b85b6ca58c Mon Sep 17 00:00:00 2001 From: Dominique Belhachemi Date: Tue, 13 Oct 2026 12:08:50 +0200 Subject: [PATCH] fix invalid escape sequence in testing.py Origin: upstream, https://gitlab.kitware.com/vtk/vtk/-/commit/c0ec1384318bf93c0d2e8b046f702860d4a3195c Bug-Debian: https://bugs.debian.org/1142155 Bug-Debian: https://bugs.debian.org/1079541 Gbp-Pq: Name fix_invalid_escape_sequence_testing.patch --- Web/Python/vtkmodules/web/testing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/Python/vtkmodules/web/testing.py b/Web/Python/vtkmodules/web/testing.py index 8b74de5b7..cae6823cd 100644 --- a/Web/Python/vtkmodules/web/testing.py +++ b/Web/Python/vtkmodules/web/testing.py @@ -684,7 +684,7 @@ def launch_web_test(*args, **kwargs): # The test name will be generated from the python script name, so # match and capture a bunch of contiguous characters which are # not '.', '\', or '/', followed immediately by the string '.py'. - fnamePattern = re.compile("([^\.\/\\\]+)\.py") + fnamePattern = re.compile(r"([^./\\]+)\.py") fmatch = re.search(fnamePattern, testScriptFile) if fmatch: testName = fmatch.group(1) -- 2.39.5